<?php
	include('newSearch.php');
	$content="";
	$count=getWebContent($content);
	$search_count=$count['total_results'];
	$export_sql=$count['export_sql'];
	$pagecount=$count['pagecount'];

	$baseUrl="http://10.108.107.221/lab/Searchresult.html?";
	$condition="";
	foreach($_GET as $key=>$val)
	{
		$condition.=empty($condition)?"":"&";
		$condition.=$key."=".$val;
	}
	$baseUrl.=$condition;
	$_GET['number_per_page']=empty($_GET['number_per_page'])?"5":$_GET['number_per_page'];
	$_GET['order']=empty($_GET['order'])?"1":$_GET['order'];
	$_GET['page_index']=empty($_GET['page_index'])?1:$_GET['page_index'];

?>
	



<!DOCTYPE html>
<!-- saved from url=(0038)http://vision.stanford.edu/people.html -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" class=" js postmessage history draganddrop borderimage borderradius boxshadow textshadow cssgradients csstransforms csstransforms3d csstransitions generatedcontent localstorage sessionstorage">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<title>学术成果搜索结果</title>
 
  <link href="css/bootstrapmin.css" rel="stylesheet" media="screen">
<link href="css/style.css" rel="stylesheet">

 


<link rel="stylesheet" type="text/css" media="screen, print" href="css/Searchresult/styles.css">

<script async="" type="text/javascript" src="css/Searchresult/gpt.js"></script><script async="" type="text/javascript" src="css/Searchresult/gpt.js"></script><script>
  var CPK = '6LfZwcgSAAAAAGWTUdAV3VuQHUbQx9vTxwZvt31i';
</script>



<link rel="stylesheet" type="text/css" media="screen, print" href="css/Searchresult/jquery.qtip.min.css">
<link rel="stylesheet" type="text/css" media="screen, print" href="css/Searchresult/simplePassMeter.min.css">
<link rel="stylesheet" type="text/css" media="screen, print" href="css/Searchresult/jquery-ui-1.8.19.custom.css">
<link rel="stylesheet" type="text/css" media="screen, print" href="css/Searchresult/styles.css">


<script type="text/javascript" src="css/Searchresult/modernizr.js"></script><style></style>




 
<script type="text/javascript">

	IS_INDIVIDUAL_USER=false;
	
	var ASSETS_RELATIVE_PATH = 'http://staticieeexplore.ieee.org/assets';
	var ASSETS_RELATIVE_PATH_NO_SERVER = '/assets';
	IBP_WS_ASSETS='https://www.ieee.org';
	var IBP_WS_ENABLED_FLAG = 'true';
	//var WEBSERVICES_INCLUDE_MINICART_MASHUP_FLAG;
	if (IBP_WS_ENABLED_FLAG.toUpperCase() == "FALSE" )
	{
		IBP_WS_ENABLED_FLAG = false;
	}
	else
	{
		IBP_WS_ENABLED_FLAG=true;
	}

	var NTPT_IMAGE_LOCATION = 'http://tagxplore.ieee.org/';
	var XPLORE_SSL_HOST = 'https://ieeexplore.ieee.org';
	var XPLORE_SSL_YES_NO = true;
	var SSL_YES_NO = 'yes';
	if (SSL_YES_NO.toUpperCase() == "NO"){
		XPLORE_SSL_YES_NO = false;
	}
	var WEBSERVICES_SSL_YES_NO = 'yes';
	var XPLORE_WEBSERV_YES_NO = true;
	if (WEBSERVICES_SSL_YES_NO.toUpperCase() == "NO"){
		XPLORE_WEBSERV_YES_NO = false;
	}
	var IBP_MEMBEER_SIGNIN_TIME_WAIT_IN_MILLIES = '800';
	var ASSETS_RELATIVE_PATH = 'http://staticieeexplore.ieee.org/assets';
	var SPECIAL_CHARACTER_MAPS = '&:.AND.,=:.EQ.,+:.PLS.,#:.HSH.,(:.LB.,):.RB.,":.QT.';
	var SPECIAL_CHARACTERS = new Array();
	var SPECIAL_CHARACTER_REPLACEMENTS = new Array();
	var characterMaps = SPECIAL_CHARACTER_MAPS.split(",");
	for (var i = 0; i < characterMaps.length; i++) {
		parts = characterMaps[i].split(":");
		SPECIAL_CHARACTERS[i] = parts[0];
		SPECIAL_CHARACTER_REPLACEMENTS[i] = parts[1];
	}

	var ALL_SEARCH_FIELDS = 'Search_Index_Terms:Index Terms,Search_All_Text:Full Text & Metadata,Search_All:Metadata Only,Search_Publication_Title:Search Publication Title,Search_Related_Terms:Search Related Terms,Search_Authors:Author Name,p_Id:Article Number,ID:,p_Module_Number:Module Number,p_Part_Num:Part Num,p_ISSN:ISSN,p_ISBN:ISBN,p_EISBN:EISBN,p_IS_Number:IS Number,p_Accession_Number:Accession Number,p_Article_Number:Article Number,p_Copyright_Holder:Copyright Holder,p_Copyright_Year:Copyright Year,p_Title:Document Title,p_Abstract:Abstract,p_Publication_Number:Publication Number,p_Parent_Publication_Number:Parent Publication Number,p_Publication_Title:Publication Title,p_Volume:Volume,p_Issue:Issue,p_Padded_Issue_Number:Padded Issue Number,p_Part:Part,p_Start_Page:Start Page,p_End_Page:End Page,p_File_Path:File Path,p_Publication_Date:Publication Date,p_Publication_Year:Publication Year,p_Online_Date:Online Date,p_Month:Month,p_Author_Pref_Names:Author Pref Names,p_Authors:Authors,p_Author_Affiliations:Author Affiliations,p_Reference_Count:Reference Count,p_Citation_Count:Citation Count,p_Patent_Count:Patent Count,p_Multimedia_Flag:Multimedia Flag,p_Biomedical_Eng_Flag:Biomedical Eng Flag,p_Non_IEEE:Non IEEE,p_STDS_Product_Number:STDS Product Number,p_Status:Status,p_DOI:DOI,p_Pdf_Path:Pdf Path,p_Pdf_Size:Pdf Size,p_Content_Type:Content Type,p_Publisher:Publisher,p_Controlled_Terms:INSPEC Controlled Terms,p_Free_Terms:INSPEC Non-Controlled Terms,p_IEEE_Terms:IEEE Terms,p_Author_Terms:Author Keywords,p_Mesh_Terms:MeSH Terms,p_PACS_Terms:PACS Terms,p_DOE_Terms:DOE Terms,p_Insert_Date:Insert Date,Conference_Location:nference Location,p_Index_Content:Index Content,p_CODEN:CODEN,p_Document_Text:Document Text,p_Standard_Number:Standard Number,p_Preprint_Flag:Preprint Flag,p_Rapid_Post_Flag:Rapid Post Flag,p_Last_Update:Last Update,p_New_Flag:New Flag,p_Open_Access_Flag:Open Access Flag,p_Promo_Flag:Promo Flag,p_Pubmed_Id:Pubmed Id,p_Duration:Duration,p_Society:Society,p_Conference:Conference,p_Society_URL:Society URL,p_Id_Subject:Id Subject,p_Book_Number:Book Number,p_Pages:Pages,p_Edition_Number:Edition Number,p_Sequence:Sequence,p_Related_Info_Type:Related Info Type,p_Related_Info:Related Info,p_Format_ISBN:Format ISBN,p_Meeting_Date:Meeting Date,p_Course_level:Course level,p_Course_ID:Course ID,p_About_Url:About Url,p_Additional_Url:Additional Url,p_Authors_Url:Authors Url,p_Open_Access_Url:Open Access Url,p_Open_Access_flag:Open Access flag,p_Partnum_VendorURL_MediaType:Partnum VendorURL MediaType,p_Branding_Image_File:Branding Image File,p_Cover_Image_File:Cover Image File,p_Frequency:Frequency,p_Field_Of_Interest:Field Of Interest,p_G_Parent_Publication_Number:G Parent Publication Number,p_Ms_Url:Ms Url,p_Relationship:Relationship,p_Society_Image:Society Image,p_Visit_Url:Visit Url,p_Visit_Website:Visit Website,p_Start_Year:Start Year,p_End_Year:End Year,p_Record_Type:Record Type,p_Rollup_Key:Rollup Key,p_Epub:Epub,p_Pic_Code_Description:Pic Code Description,p_Pic_Code:Pic Code,p_Sponsors:Sponsors,p_Notes:Notes,p_Conference_Date:Conference Date,p_Publication_Contact:Publication Contact,p_isBuyable:isBuyable,p_Publication_Files:Publication Files,p_Map_Pricing_Key:Map Pricing Key,p_Unavailable_for_Sale:Unavailable for Sale,p_Publication_Sort:Publication Sort,p_Standard_Family:Standard Family,p_Standard_Group:Standard Group,p_Product_Url:Product Url,p_ISBN_MediaType:ISBN MediaType,p_Html_Flag:Html Flag,p_Rightslink_Flag:Rightslink Flag,p_Page_Count:Page Count,p_Name:Name,p_Table_of_Contents:Table of Contents,p_Time_Stamp:Time Stamp,p_Insert_Date:Insert Date,p_Sub_Title:Sub Title,p_Related_Item:Related Item,p_Reference_Material:Reference Material,p_Latest_Issue_Time:Latest Issue Time,p_Search_Latest_Date:Search Latest Date,p_Pbd_Flag:Pbd Flag,p_Lms_Url:Lms Url,p_Current_Volume:Current Volume,p_Author_Ids:Author Ids,p_First_Names:First Name,p_Middle_Names:Middle Name,p_Last_Names:Last Name,p_Graphical_File:Graphical File,p_Graphical_Image:Graphical Cover Image,p_Graphical_Summary:Graphical Summary,p_Graphical_Type:Graphical Type,p_Native_Names:Native Name,p_External_Id:External Id,p_Standard_Bundles:Standard Bundles,p_Standard_Bundle_Parts:Standard Bundle Parts,p_Virtual_Title:Virtual Title,p_Series_Name:Series Name,p_Series_Id:Series Id,p_ML_Html_flag:ML Html flag,p_Promo_Start_Date:Promo Start Date,p_Promo_End_Date:Promo End Date,p_Issue_Complete_Flag:Issue Complete Flag,p_Scope:Scope,p_Purpose:Purpose,p_Standard_Family_Title:Standard Family Title,Type_Ahead_Terms:Type Ahead Terms,IEEE_Term:IEEE Term,Content_Type:Content Type,Author:Author,Affiliation:Affiliation,Topic:Topic,Publication_Title:Publication Title,Publication_Year:Publication Year,Publisher:Publisher,Conference_Country:Conference Country,Conference_Location:Conference Location,Standard_Status:Standard Status,Conference_Year:Conference Year,Publication_Package:Subscribed Content,Standard_Package:Standard Package,Standard_Title:Standard Title,Standard_Term:Standards Dictionary Terms,Publication_Range:Publication Range,Standard_Range:Standard Range,Record_Type:Record Type,Media_Type:Media Type,Book_Type:Book Type,Course_Type:Course Type,Publication_Standard_Range:Publication Standard Range,Perpetual_Year:Perpetual Year,Opac_Title_Range:Opac Title Range,Book_Series:Book Series,Subject_Category:Subject Category';
	var SEARCH_FIELD_REFERENCES = new Array();
	var SEARCH_FIELD_DISPLAYS = new Array();
	var searchFields = ALL_SEARCH_FIELDS.split(",");
	for (var j = 0; j < searchFields.length; j++) {
		parts = searchFields[j].split(":");
		SEARCH_FIELD_REFERENCES[j] = parts[0];
		SEARCH_FIELD_DISPLAYS[j] = parts[1];
	}

	var PAGE_TAGGING = 'ON';
	var wt_domain = 'statse.webtrendslive.com';
	var wt_dcsid = 'dcs7nlnxvuz5bdjhyiihzogfg_6x8o';
	if(PAGE_TAGGING && PAGE_TAGGING == 'ON') {
		PAGE_TAGGING = true;
	} else {
		PAGE_TAGGING = false;
	}
	// This adds trim support in IE, without this any use of trim will break in IE
	if(typeof String.prototype.trim !== 'function') {
		  String.prototype.trim = function() {
			return this.replace(/^\s+|\s+$/g, '');
		  }
		}



	function reverseCharacterMaps(terms) {
		for (var i = 0; i < SPECIAL_CHARACTER_REPLACEMENTS.length; i++) {
			var index = terms.indexOf(SPECIAL_CHARACTER_REPLACEMENTS[i]);
			while (index > -1) {
				terms = terms.replace(SPECIAL_CHARACTER_REPLACEMENTS[i], SPECIAL_CHARACTERS[i]);
				index = terms.indexOf(SPECIAL_CHARACTER_REPLACEMENTS[i]);
			}
		}
		return terms;
	}

	function isSearchField(term) {
		if (ALL_SEARCH_FIELDS.indexOf(term) > -1) {
			return true;
		}
		return false;
	}

	function isFunction(fName) {
		var functionName = fName;

		var isDefined = eval('(typeof ' + functionName + '==\'function\');');
		if (isDefined) {
			return true;
		}
		else
		{
			return false;
		}
	}
</script>
<!--摘要收缩显示-->


<script type="text/javascript" src="css/Searchresult/prototype-scriptaculous.js" charset="utf-8"></script>
<script type="text/javascript" src="css/Searchresult/prototype_extensions.min.js" charset="utf-8"></script>
<script type="text/javascript" src="css/Searchresult/vendor.js"></script>
		<script type="text/javascript" src="css/Searchresult/refinements.js"></script>
		<script type="text/javascript" src="css/Searchresult/butterfly.js"></script>
		<script type="text/javascript" src="css/Searchresult/rightsLink.js"></script>
		<script type="text/javascript" src="css/Searchresult/site.js"></script>
		<script type="text/javascript" src="css/Searchresult/search-pages.js"></script>
	<script type="text/javascript" src="css/Searchresult/modal.js"></script>
	
<script async="" type="text/javascript" src="css/Searchresult/pubads_impl_58.js"></script>
<script type="text/javascript" src="/lab/js/multichoices.js"></script>
<script type="text/javascript" src="js/header.js"></script>

	
</head>

<body class="landing-page">
	
<?php
	require("header.php");
?>


	
		
		<!-- BEGIN: BodyWrapper -->
<div id = "achievement">
	<?php
	require("DBops.php");
	//session_start();
	if(isset($_SESSION['user'])){
				$con = connect("localhost", "root", "", "lab");
				$result = query($con, "*", "personalinfo", "ID", $_SESSION['user']);
				$row = mysql_fetch_array($result);
	
			echo "<div style='height:30px;background:#A4D3EE;'>
		      
              <p  style='margin-right:10px;float:right;'>登录为: <a href = \"infor.php?id=".$_SESSION['user']."\">".$_SESSION['user']."</a></font>&nbsp&nbsp<a  onclick=\"if(confirm('确定要退出系统吗?')){parent.location.href ='logout.php'}\" href=\"javascript:void(0)\">退出</a></font></p></div>";
	}
	else
	{   $_SESSION['userurl'] = $_SERVER['REQUEST_URI']; 
		echo "<div style='height:30px;background:#A4D3EE;'>
				<ul>
              <li  style='margin-right:10px;float:right;'><a href ='login.php'>登录</a></div>";
	}
	
?>					

  <div id="results-hdr">
	<strong>Search Results</strong>
	<div class="content" id="content">
			<div class="refinement">
				<span style="float:left">
					
							<strong class="search-term">
								
							</strong>
				</span> 	
	
			</div>

		<div class="ClearFix"><!-- do not remove --></div>

			<span class="display-status results-returned">
				<?php echo $search_count;?> Results returned
			</span>		
	   </div>
	
</div>
<!--  End results hdr -->





<form name="search_results_form" id="search_results_form" >
	<input type="hidden" name="baseUrl" id="baseUrl" value="<?php echo $baseUrl;?>">

	<input type="hidden" name="pageNumber"	id="pageNumber"> 
	<input type="hidden" name="prevArticle" id="prevArticle" /> 
	<input type="hidden" name="nextArticle" id="nextArticle" /> 
	<input type="hidden" name="savedSearchTitle" id="savedSearchTitle" 
			value="" />
<script type="text/javascript">
 
	
	 function sortAction() {
		var baseurl=document.search_results_form.baseUrl.value;
		   
	   var order = document.search_results_form.order_index.value;
	  
	   var url_string = baseurl+"&order="+order;
	 //  alert(url_string);
		
	   location.href = url_string;
		 var order_selected_value=document.getElementById("order_selected_index").value;
		var i=order_selected_value;
		alert(i);
		
		document.getElementById(order_index).options[i].selected=true;
	 
	 }
	
	 function rowsPerPageAction() {

		var baseurl=document.search_results_form.baseUrl.value;
	   var number_per_page = document.search_results_form.number_per_page.value;
	 //  alert(number_per_page);
	   var url_string = baseurl+"&number_per_page="+number_per_page;
	  
	   location.href = url_string;
	   var number_per_page1 = document.search_results_form.number_per_page;
	  // alert(number_per_page1.length);
		 var number_per_page_index=document.getElementById("number_per_page_index").value;
		var aaa=document.search_results_form.number_per_page.value = number_per_page_index; 
		var i=number_per_page_index/5 -1;
		alert(aaa);
		//alert(i);
		number_per_page1.options[i].selected=true;
	}
	function gotoPage(pagenum) {

		var baseurl=document.search_results_form.baseUrl.value;
		var url_string = baseurl+"&page_index="+pagenum;
		
	   location.href = url_string;
	 }
	
	function gotoPage_next(pagenum){
		
	
	}
</script>


	
		<div class="page-tools page-tools-results">
			<span class="field">
					<fieldset class="display-options">
						<label for="" class="" style="float:left;"> 每页显示: </label> 
						
						<span class="field">
						<!-- <input type="hidden" id ="number_per_page_index" value="<?php echo"".$_GET['number_per_page']."";?>"/> -->
						
						<select name="number_per_page" id="number_per_page"	onchange="rowsPerPageAction();" style="width:60px;height:25px;">
							
							<option value="5" <?php echo $_GET['number_per_page']==5?"selected='true'":"";?>
							
							>5</option>
							
							<option value="10" <?php echo $_GET['number_per_page']==10?"selected='true'":"";?>
							>10</option>
							
							<option value="15" <?php echo $_GET['number_per_page']==15?"selected='true'":"";?>
							>15</option>
							
							
							<option value="20" <?php echo $_GET['number_per_page']==20?"selected='true'":"";?>
							>20</option>
							
						</select>
						</span> 
					</fieldset>
            </span>
				
				
				
								
				<span class="floatRight padRight15 textAlignRight" >
					<fieldset class="sort">
					<label  style="float:left;align:center;" >排序: </label> 
				
					<select name="order_index" id="order_index"
						onchange="sortAction();" style="width:120px;height:25px;"  >
						<option value="-1" <?php echo $_GET['order']==-1?"selected='true'":"";?>
							>请选择
						</option>
						
				
						<option value="3" <?php echo $_GET['order']==3?"selected='true'":"";?>
							>最新发表在前
						</option>
				
						<option value="4" <?php echo $_GET['order']==4?"selected='true'":"";?>
							>较晚发表在前
						</option>
						<option value="7" <?php echo $_GET['order']==7?"selected='true'":"";?>
						
						>会议在前	</option>
						<option value="8" <?php echo $_GET['order']==8?"selected='true'":"";?>
						
						>期刊在前	</option>
						<!--<option value="9" 
						>	</option>
						<option value="5" <?php echo $_GET['order']==5?"selected='true'":"";?>
				 	>被引次数增</option>
						
						
							<option value="6" <?php echo $_GET['order']==6?"selected='true'":"";?>
								>被引次数减</option>
						<option value="1"  
							>标题[A-Z]</option> <?php echo $_GET['order']==1?"selected='true'":"";?>
						<option value="2"  <?php echo $_GET['order']==2?"selected='true'":"";?>
							>标题[Z-A] 
						</option>-->
						
						</select>
					</fieldset>
				</span>
			
		</div>
				
				
<div class="results-display rdPadRemove"><!-- START PAGINATION -->
		<p class="links addition-pagination-links-left" id="toggle-all-checkboxes">
	
	
	<span id="select-all" class="link SelectAll"> 
	选择全部页面 </span> <span class="link">|</span> 
	<span id="deselect-all" class="link DeSelectAll"> 取消选择所有页面</span></p>

		<ul class="pagination paginationTop">			
				
				<li class="next smFont">&nbsp;&nbsp;&nbsp;<a href="#highlight1"
				onclick="javascript:gotoPage('1')"
				title="First"><span>&laquo;</span> 首页</a></li>
			<li>|&nbsp;&nbsp;</li>
	
		
							<?php 
						//$_GET['page_index']-1  1-5 余5  0-4
						$start_page_index=$_GET['page_index']-($_GET['page_index']-1)%5;
						if($start_page_index>5){
							?>
							<li class="next">
							<a href="#"	onclick="javascript:gotoPage('<?php echo $start_page_index-5;?>')">
								<img src="img/double-arrow-prev.gif" alt="" />
							</a>
							</li>
							<?php
							}

						$end_page_index=($start_page_index+5)>$pagecount?($pagecount+1):($start_page_index+5);
						for($i=$start_page_index;$i<$end_page_index;++$i)
						{
							if($_GET['page_index']==$i){//当前页
							?>
								<li>&nbsp;&nbsp;&nbsp;<span><?php echo $i;?></span>&nbsp</li>
								<?php
								}
								else{
								?>
								<li >&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:gotoPage('<?php echo $i;?>')" title="Page <?php echo $i;?>" alt="Page <?php echo $i;?>" style="width:10px;height:15px;margin-bottom:3px;"><?php echo $i;?></a>&nbsp</li>
					<?php
								}}
						if($end_page_index<$pagecount){
						?>
						<li class="next">&nbsp;&nbsp;&nbsp;
						<a href="#"	onclick="javascript:gotoPage('<?php echo $end_page_index;?> ')">
							<img src="img/double-arrow-next.gif" alt="" />
						</a>
						</li>
					<?php }?>
				<li class="next smFont"><a href="#" title="Last" onclick="javascript:gotoPage('<?php echo $pagecount;?>')" style="width:15px;height:15px;margin-bottom:3px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;末页<span>&raquo;</span></a></li>

			</ul>
</div>
</form>			
	<div align="center">
<input type="button" value="导出Word" onClick="showExportWordChoices()">　　<input type="button" value="导出Excel" onClick="showExportExcelChoices()"><br/><br/>
</div>
<div class="" id="exportItems" style="width:700px;margin:auto;display:none">
	  <!--added by fj-->
		<form name="form1" method="post" action="downloadResult.php" target="_blank"> 
		<input type="hidden" name="export_sql" value="<?php echo $export_sql;?>"/>
		<table border="0" style="margin:auto" width="75%" cellspacing="0" cellpadding="0"> 
		<tr> 
		<td> 
		<table border="0" style="margin:auto"> 
		<tr> 
		<td> 
		<select name="leftItem" style="width:200px" size="10" multiple="multiple" id="leftExportItems"> 
		<option value="标题">标题</option> 
		<option value="第一作者">第一作者</option> 
		<option value="第二作者">第二作者</option> 
		<option value="第三作者">第三作者</option> 
		<option value="第四作者">第四作者</option> 
		<option value="第五作者">第五作者</option> 
		<option value="其他作者">其他作者</option> 
		<option value="通信作者">通信作者</option> 
		<option value="检索号">检索号</option> 
		<option value="原文语言">原文语言</option> 
		<option value="发表时间">发表时间</option> 
		<option value="期刊会议名">期刊会议名</option> 
		<option value="卷">卷</option> 
		<option value="期">期</option> 
		<option value="页码">页码</option> 
		<option value="会议地点">会议地点</option> 
		<option value="关键词">关键词</option> 
		<option value="领域">领域</option> 
		<option value="DOI">DOI</option> 
		<option value="全文下载">全文链接</option> 
		<option value="摘要">摘要</option> 
		<option value="ISSN">ISSN</option> 
		<option value="CN">CN</option> 
		<option value="ISBN">ISBN</option> 
		<option value="基金">基金</option> 
		<option value="被引次数">被引次数</option> 
		<option value="论文类型">论文类型</option> 
		</select> 
		</td> 
		</tr> 
		</table> 
		</td> 
		<td> 
		<table border="0" style="margin:auto"> 
		<tr><td height="30"><input type="button" name="button1" style="width:50px" value=">" onClick="fMoveSelectedOptionsLeftToRight(document.all.leftItem,document.all.rightItem)"></td></tr> 
		<tr><td height="30"><input type="button" name="button2" style="width:50px" value=">>" 
		onClick="fMoveAllOptionsLeftToRight(document.all.leftItem,document.all.rightItem)"></td></tr> 
		<tr><td height="30"><input type="button" name="button3" style="width:50px" value="<" 
		onClick="fMoveSelectedOptionsRightToLeft(document.all.leftItem,document.all.rightItem)"></td></tr> 
		<tr><td height="30"><input type="button" name="button4" style="width:50px" value="<<" 
		onClick="fMoveAllOptionsRightToLeft(document.all.leftItem,document.all.rightItem)"></td></tr> 
		</table> 
		</td> 
		<td> 
		<table border="0" style="margin:auto"> 
		<tr> 
		<td> 
		<select name="rightItem" style="width:200px" size="10" multiple="multiple" id="rightExportItems"> 
		</select> 
		</td> 
		</tr> 
		</table> 
		</td> 
		<td>
		<INPUT  type="button" style="width:24px" value="↑" onmousedown="setTimeStart('up');"  onmouseup="clearTimeout(x);" onclick="upListItem();clearTimeout(x);"> 
		<INPUT  type="button" style="width:24px" value="↓" onmousedown="setTimeStart('down');" onmouseup="clearTimeout(x);" onclick="downListItem();clearTimeout(x);">
		</td>
		</tr> 
		</table> 
		<table border="0" style="margin:auto" id="submitExportItems"> 
		
		</table> 
		
		<!--<table border="0" style="margin:auto" id="submitExportItems"> 
		<tr height="40"> 
		<td><input type="submit" value="导出"/></td> 
		</tr> 
		</table>  -->
		</form> 

</div>


</div>

<ul class="Results">  

<?php
	echo $content;
?>
</ul>
</div>

<div style="margin-left:auto;margin-right:auto;width:700px; clear:both;background:#FAF0E6;height:40px;">
<div class="results-display rdPadRemove"><!-- START PAGINATION -->
		<p class="links addition-pagination-links-left" id="toggle-all-checkboxes" style="float:left;">
	
	
	<span id="select-all" class="link SelectAll"> 
	选择全部页面 </span> <span class="link">|</span> 
	<span id="deselect-all" class="link DeSelectAll"> 取消选择所有页面</span></p>

		<ul class="pagination paginationTop">			
				
				<li class="next smFont"><a href="#highlight1"
				onclick="javascript:gotoPage('1')"
				title="First"><span>&laquo;</span> 首页</a></li>
			<li>|&nbsp;&nbsp;</li>
			
							
							<?php 
						//$_GET['page_index']-1  1-5 余5  0-4
						$start_page_index=$_GET['page_index']-($_GET['page_index']-1)%5;
						if($start_page_index>5){
							?>
							<li class="next">&nbsp;&nbsp;&nbsp;
							<a href="#"	onclick="javascript:gotoPage('<?php echo $start_page_index-5;?>')">
								<img src="img/double-arrow-prev.gif" alt="" />
							</a>
							</li>
							<?php
							}

						$end_page_index=($start_page_index+5)>$pagecount?($pagecount+1):($start_page_index+5);
						for($i=$start_page_index;$i<$end_page_index;++$i)
						{
							if($_GET['page_index']==$i){//当前页
							?>
								<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><?php echo $i;?></span>&nbsp</li>
								<?php
								}
								else{
								?>
								<li >&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:gotoPage('<?php echo $i;?>')" title="Page <?php echo $i;?>" alt="Page <?php echo $i;?>" style="width:10px;height:15px;margin-bottom:3px;"><?php echo $i;?></a>&nbsp</li>
					<?php
								}}
						if($end_page_index<$pagecount){
						?>
						<li class="next">&nbsp;&nbsp;&nbsp;
						<a href="#"	onclick="javascript:gotoPage('<?php echo $end_page_index;?> ')">
							<img src="img/double-arrow-next.gif" alt="" />
						</a>
						</li>
					<?php }?>
				<li class="next smFont"><a href="#" title="Last" onclick="javascript:gotoPage('<?php echo $pagecount;?>')" style="width:15px;height:15px;margin-bottom:3px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;末页<span>&raquo;</span></a></li>
			</ul>
</div>
</div>
		 
</body></html>